{include_php once=true file=$path}
<div id="divselectunit" class="accordian" style="width:400px;">
    <div class="root clear_both">
        新版标日(初上)
    </div>
    <div class="node clear_both bgcolor_gray overflow_auto {if empty($smarty.get.bid)|| $smarty.get.bid!=1}hide{/if}" tag="1" style="color:#000;">
        {foreach item=arrayitem from=$xinbian1}
        <div class="leftfloat width60" name="lessonid" >
            {if Common::is_empty($smarty.get.lessonid,0)==$arrayitem && Common::is_empty($smarty.get.bid,0)==1}
            <label>
                <input type="checkbox" name="chkLesson" checked="checked" tag="{$arrayitem}" />第{$arrayitem}课</label>
            {else}
            <label>
                <input type="checkbox" name="chkLesson" tag="{$arrayitem}" />第{$arrayitem}课</label>
            {/if}
        </div>
        {/foreach}
    </div>
    <div class="root clear_both">
        新版标日(初下)
    </div>
    <div class="node bgcolor_gray overflow_auto {if empty($smarty.get.bid) || $smarty.get.bid!=2}hide{/if}" tag="2" style="color:#000;">
        {foreach item=arrayitem from=$xinbian2}
        <div class="leftfloat width60" name="lessonid">
            {if (Common::is_empty($smarty.get.lessonid,0)==$arrayitem && Common::is_empty($smarty.get.bid,0)==2)}
            <label>
                <input type="checkbox" name="chkLesson" checked="checked" tag="{$arrayitem}" />第{$arrayitem}课</label>
            {else}
            <label>
                <input type="checkbox" name="chkLesson" tag="{$arrayitem}" />第{$arrayitem}课</label>
            {/if}
        </div>
        {/foreach}
    </div>
    <div class="root clear_both">
        大家的日语1
    </div>
    <div class="node bgcolor_gray overflow_auto {if empty($smarty.get.bid)||$smarty.get.bid!=3}hide{/if}" tag="3" style="color:#000;">
        {foreach item=arrayitem from=$dajia1}
        <div class="leftfloat width60" name="lessonid">
            {if (Common::is_empty($smarty.get.lessonid,0)==$arrayitem && Common::is_empty($smarty.get.bid,0)==3)}
            <label>
                <input type="checkbox" name="chkLesson" checked="checked" tag="{$arrayitem}" />第{$arrayitem}课</label>
            {else}
            <label>
                <input type="checkbox" name="chkLesson" tag="{$arrayitem}" />第{$arrayitem}课</label>
            {/if}
        </div>
        {/foreach}
    </div>
</div>

<div class="clear_both textalign_center position_absolute" style="bottom:50px;">
    <div class="fontsize0 fontweight20 textalign_left" style="color: white;">单词测试频率依据</div>
    <div class="fontsize0 textalign_left" style="color: white;"><label><input type="radio" name="accordingby" value="0" checked="checked"/>根据正确率调整</label><label><input type="radio" value="1" name="accordingby"/>根据记忆度调整</label></div>
    <div class="fontsize0 fontweight20 textalign_left" style="color: white;">题型</div>
    <div class="fontsize0 textalign_left" style="color: white;">
        <label><input type="radio" name="quizType" value="0" checked="checked"/>随机</label>
        <label><input type="radio" value="1" name="quizType"/>全部选择题</label>
        <label><input type="radio" value="2" name="quizType"/>全部默写题</label>
    </div>

</div>  
<div class="position_absolute textalign_center" style="bottom: 10px;width:400px;" >
    <input type="button" class="littleoffset5 btn btn-primary fontweight10 "  value="确认" onclick="javascript:showQuicktest();" />
    <input type="button" class="btn btn-danger fontweight10 " value="放弃" onclick="javascript:$.modal.close();" />
</div>